package info.hexin.json.serialize.render;

import info.hexin.json.serialize.JsonRender;
import info.hexin.json.serialize.StringWrite;

public class IntegerRender implements JsonRender {
    public static IntegerRender instance = new IntegerRender();

    @Override
    public void render(Object object, StringWrite write) {
        Number number = (Number) object;
        write.appendString(number.toString());
    }
}
